<template>
  <component :is="useCard ? 'el-card' : 'div'" class="base-panel">
    <slot />
  </component>
</template>

<script setup>
const props = defineProps({
  useCard: {
    type: Boolean,
    default: true
  }
})
</script>

<style scoped>
.base-panel {
  width: 100%;
}
</style>
